package com.example.pei.ithinklearnt.present;

import com.example.pei.ithinklearnt.bean.AlumniCircle;
import com.example.pei.ithinklearnt.bean.Comment;
import com.example.pei.ithinklearnt.bean.UserInfo;

import java.util.List;

/**
 * Created by Pei on 2017/12/11.
 */

public interface DynamicDetailsPresent {

    void initDynamicCommentAndPraiseNum(int comment,int praise ); //初始化当前动态的评论点赞数量
    void queryComments(AlumniCircle al);   //获取某条动态的所有评论
    void queryHeader(String objectId);     //获得header的点赞数量
    void shieldAlumniCircle(String userName,String objectId);                   //用户打开动态详情页之后想要屏蔽这个动态
    void praiseAlumniCircle(String userName,String objectId);                   //用户打开动态详情页之后点赞这个动态
    void deleteAlumniCircle(AlumniCircle al,List photoUrls);                    //用户（动态发送者）打开动态详情页之后删除这个动态

    void sendComment(Comment comment);               //评论者发送评论
    void deleteComment(String commentObjectId,String alumniCircleId,int position);             //评论者删除自己的评论
}
